package com.designpattern.templatepattern;

/**
 * @Classname ExamTest
 * @Description 模板模式测试类
 * @Date 2019/5/12 20:59
 * @Created by xiangty
 */
public class ExamTest {

    public static void main(String[] args) {
        AbstractExam chineaseExam = new ChineaseExam();
        chineaseExam.exam();

        MathExam mathExam = new MathExam();
        mathExam.exam();

    }

}
